Skip to content

Packaging: accept normalized Marvin archive names - #13793

Open
Dogface2k wants to merge 2 commits into
apache:mainfrom
Dogface2k:agent/packaging-normalized-marvin-archive
Open

Packaging: accept normalized Marvin archive names#13793
Dogface2k wants to merge 2 commits into
apache:mainfrom
Dogface2k:agent/packaging-normalized-marvin-archive

Conversation

@Dogface2k

@Dogface2k Dogface2k commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

Setuptools 69.3.0 introduced PEP 625-compliant normalization of
source-distribution filenames.

Although the Python project is declared as name="Marvin", current
Setuptools versions produce:

marvin-<version>.tar.gz

Older versions may still produce:

Marvin-<version>.tar.gz

Update the Debian packaging consumers to match [Mm]arvin-*.tar.gz,
allowing both forms to remain supported.

This only changes archive discovery during packaging and installation.
It does not alter the Marvin archive contents or CloudStack runtime
behaviour.

still need review
packaging/el8/cloud.spec
packaging/suse15/cloud.spec
tools/marvin/pom.xml

will tighten patterns

@DaanHoogland DaanHoogland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clgtm

@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 19.78%. Comparing base (4f11707) to head (1127798).
⚠️ Report is 114 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #13793      +/-   ##
============================================
+ Coverage     19.65%   19.78%   +0.13%     
- Complexity    19792    19993     +201     
============================================
  Files          6368     6371       +3     
  Lines        574881   575909    +1028     
  Branches      70351    70509     +158     
============================================
+ Hits         112970   113929     +959     
+ Misses       449639   449549      -90     
- Partials      12272    12431     +159     
Flag Coverage Δ
uitests 3.52% <ø> (+0.11%) ⬆️
unittests 21.05% <ø> (+0.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@weizhouapache weizhouapache left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code lgtm

it is consistent with @DaanHoogland 's PR: #11873

@weizhouapache

Copy link
Copy Markdown
Member

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 18774

@DaanHoogland

Copy link
Copy Markdown
Contributor

the marvin box the smoke tests use is el, but marvin is also installed on the MSs, so

@blueorangutan test u26 kvm-u26

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland [SL] unsupported parameters provided. Supported mgmt server os are: suse15, alma10, ol10, rocky10, alma9, centos7, centos6, rocky9, alma8, ubuntu18, ol9, ol8, ubuntu22, debian12, ubuntu20, ubuntu26, rocky8, ubuntu24. Supported hypervisors are: kvm-centos6, kvm-centos7, kvm-rocky8, kvm-rocky9, kvm-rocky10, kvm-ol8, kvm-ol9, kvm-ol10, kvm-alma8, kvm-alma9, kvm-alma10, kvm-ubuntu18, kvm-ubuntu20, kvm-ubuntu22, kvm-ubuntu24, kvm-ubuntu26, kvm-debian12, kvm-suse15, vmware-55u3, vmware-60u2, vmware-65u2, vmware-67u3, vmware-70u1, vmware-70u2, vmware-70u3, vmware-80, vmware-80u1, vmware-80u2, vmware-80u3, vmware-80u3e, xenserver-65sp1, xenserver-71, xenserver-74, xenserver-84, xcpng74, xcpng76, xcpng80, xcpng81, xcpng82, xcpng83

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test ubuntu24 kvm-ubuntu26

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a [SL] Trillian-Jenkins test job (ubuntu24 mgmt + kvm-ubuntu26) has been kicked to run smoke tests

@weizhouapache

Copy link
Copy Markdown
Member

the marvin box the smoke tests use is el, but marvin is also installed on the MSs, so

also, the ubuntu container to build debian/ubuntu packages are old, it still wrote to Marvin-xxxx.tgz

image

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-24)
Environment: kvm-ubuntu26 (x2), zone: Advanced Networking with Mgmt server u24
Total time taken: 57557 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr13793-n24-kvm-ubuntu26.zip
Smoke tests completed. 156 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File

@Dogface2k

Copy link
Copy Markdown
Collaborator Author

reviewing

@Dogface2k
Dogface2k force-pushed the agent/packaging-normalized-marvin-archive branch from f1f6350 to 973c656 Compare August 6, 2026 18:40
@Dogface2k
Dogface2k force-pushed the agent/packaging-normalized-marvin-archive branch from 973c656 to f1f6350 Compare August 6, 2026 18:42
@Dogface2k
Dogface2k marked this pull request as ready for review August 6, 2026 23:19
@DaanHoogland DaanHoogland moved this from Backlog to Ready in CloudStack Testing Aug 31, 2026
@abh1sar abh1sar moved this from Ready to In progress in CloudStack Testing Sep 8, 2026
@abh1sar

abh1sar commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

@Dogface2k Can we add the same change to packaging/el8/cloud.spec and packaging/suse15/cloud.spec in this PR?

@Dogface2k
Dogface2k marked this pull request as draft September 8, 2026 18:11
Use [Mm]arvin-*.tar.gz when copying, listing and installing the
Marvin archive in the EL8 and SUSE15 RPM specs. Keep legacy
uppercase archive names supported.

Tighten the Debian manifest to the same version-delimited pattern.

@abh1sar abh1sar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@abh1sar

abh1sar commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

@Dogface2k can this be merged or is some work pending?

@weizhouapache

Copy link
Copy Markdown
Member

@Dogface2k can this be merged or is some work pending?

@abh1sar
the docker containers we are using for packaging jobs are very old. They still generate Marvin-*.tgz

the code lgtm
it would be good if someone build packages manually in recent OSes (I think marvin-.tgz will be created), and test the installation of cloudstack-marvin (in debian/ubuntu and rhel/suse containers), currently we use ol9 as marvin node in testing.

@Dogface2k
Dogface2k marked this pull request as ready for review September 9, 2026 09:01
@Dogface2k

Dogface2k commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator Author

@Dogface2k can this be merged or is some work pending?

@abh1sar the docker containers we are using for packaging jobs are very old. They still generate Marvin-*.tgz

the code lgtm it would be good if someone build packages manually in recent OSes (I think marvin-.tgz will be created), and test the installation of cloudstack-marvin (in debian/ubuntu and rhel/suse containers), currently we use ol9 as marvin node in testing.

This can be merged if there is anything else please let me know.

@weizhouapache

Copy link
Copy Markdown
Member

@Dogface2k can this be merged or is some work pending?

@abh1sar the docker containers we are using for packaging jobs are very old. They still generate Marvin-*.tgz
the code lgtm it would be good if someone build packages manually in recent OSes (I think marvin-.tgz will be created), and test the installation of cloudstack-marvin (in debian/ubuntu and rhel/suse containers), currently we use ol9 as marvin node in testing.

This can be merged if there is anything else please let me know.

@Dogface2k
have you tested the packaging with any OSes ?

@Dogface2k

Copy link
Copy Markdown
Collaborator Author

@Dogface2k can this be merged or is some work pending?

@abh1sar the docker containers we are using for packaging jobs are very old. They still generate Marvin-*.tgz
the code lgtm it would be good if someone build packages manually in recent OSes (I think marvin-.tgz will be created), and test the installation of cloudstack-marvin (in debian/ubuntu and rhel/suse containers), currently we use ol9 as marvin node in testing.

This can be merged if there is anything else please let me know.

@Dogface2k have you tested the packaging with any OSes ?

I have not tested assuming someone will. I left in draft for me to test later today or tomorrow.

@Dogface2k

Copy link
Copy Markdown
Collaborator Author

@Dogface2k can this be merged or is some work pending?

@abh1sar the docker containers we are using for packaging jobs are very old. They still generate Marvin-*.tgz
the code lgtm it would be good if someone build packages manually in recent OSes (I think marvin-.tgz will be created), and test the installation of cloudstack-marvin (in debian/ubuntu and rhel/suse containers), currently we use ol9 as marvin node in testing.

This can be merged if there is anything else please let me know.

@Dogface2k have you tested the packaging with any OSes ?

Got some tests queued now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

5 participants